typedef struct Node {
    int value;
    struct Node* next;
} Node;

void iterate(Node *head) {
    while (head != NULL){
        printf("%d\n", head->value);
        head = head->next; 
    }
}